<extend name="./Application/Admin/View/base.html" />
<block name="title"><title><?php echo C(APP_NAME);?>PC端管理</title></block>
<block name="stylesheets">
<link rel="stylesheet" href="__PUBLIC__/assets/css/jquery-ui.css" />
</block>
<block name="stylecss">
<style type='text/css'>
	.profile-user-info {margin:0;}
</style>
</block>
<block name="smallmenu">
<ul class="breadcrumb">
	<li>
		<i class="ace-icon fa fa-home home-icon"></i>
		<a href="{:U('Index/index')}">主页</a>
	</li>
    <li>
		<a href="{:U('Statistics/index')}">考官统计列表</a>
	</li>
	<li>
		<a href="{:U('Statistics/statistics_details')}">考官统计详细信息</a>
	</li>
	<li class="active">查看考试详细信息</li>
</ul><!-- /.breadcrumb -->

<!-- #section:basics/content.searchbox -->
<div class="nav-search" id="nav-search"></div><!-- /.nav-search -->
</block>
<block name="content">
<div class="space-6"></div>
<div class="row" style="margin-bottom:7px">
    <div class="col-xs-12"><span class="label label-success label-lg arrowed"> 考试详情 </span></div>
</div>
<div class="space-6"></div>

<div class="profile-user-info profile-user-info-striped" >

	<div class="profile-info-row">
		<div class="profile-info-name"> 专业 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" >
				<?php if ($exam_arr['exam_major_id'] == 1): ?>
					电吉他
				<?php elseif ($exam_arr['exam_major_id'] == 2): ?>
					爵士鼓
				<?php elseif ($exam_arr['exam_major_id'] == 3): ?>
					电贝司
				<?php endif ?>
			</span>
		</div>
	</div>

	<div class="profile-info-row">
		<div class="profile-info-name"> 专业等级 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" >
				{$exam_arr.exam_level}级
			</span>
		</div>
	</div>

	<div class="profile-info-row">
		<div class="profile-info-name"> 考试地点 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" >
				<?php if ($exam_arr['exam_midiclub_id'] == 111111): ?>
				线上考试
				<?php else: ?>
				{$exam_arr.midiclub_name}
				<?php endif ?>
			</span>
		</div>
	</div>

	<div class="profile-info-row">
		<div class="profile-info-name"> 考试地址 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" >
				<?php if ($exam_arr['exam_midiclub_id'] == 111111): ?>
				线上考试
				<?php else: ?>
				{$exam_arr.midiclub_address}
				<?php endif ?>
			</span>
		</div>
	</div>

	<div class="profile-info-row">
		<div class="profile-info-name"> 考试时间 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" >
				{$exam_arr.exam_ymd}&nbsp;&nbsp;{$exam_arr.examtime_time}
			</span>
		</div>
	</div>

	<div class="profile-info-row">
		<div class="profile-info-name"> 报名时间 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" >
				{$exam_arr.exam_applytime}
			</span>
		</div>
	</div>

	<div class="profile-info-row">
		<div class="profile-info-name"> 考试报名费 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" >
				<?php if ($exam_arr['exam_paystatus'] == 1): ?>
					<span style="color:red">未付款</span>
				<?php elseif ($exam_arr['exam_paystatus'] == 2): ?>
					<span style="color:green">已付款</span>
				<?php endif ?>
			</span>
		</div>
	</div>

	<div class="profile-info-row">
		<div class="profile-info-name"> 考试状态 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" >
				<?php if ($exam_arr['exam_status'] == 1): ?>
					<span style="color:orange">报名成功</span>
				<?php elseif ($exam_arr['exam_status'] == 2): ?>
					<span style="color:blue">已指派老师</span>
				<?php elseif ($exam_arr['exam_status'] == 3): ?>
					<span style="color:green">已完成考试</span>
				<?php endif ?>
			</span>
		</div>
	</div>

	<div class="profile-info-row">
		<div class="profile-info-name"> 考试结果 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" >
				<?php if ($exam_arr['exam_result'] == 1): ?>
				<span style="color:orange">等待考试结果</span>
				<?php elseif ($exam_arr['exam_result'] == 2): ?>
				<span style="color:blue">考试通过</span>
				<?php elseif ($exam_arr['exam_result'] == 3): ?>
				<span style="color:green">考试未通过</span>
				<?php endif ?>
			</span>
		</div>
	</div>

	<div class="profile-info-row">
		<div class="profile-info-name"> 考官评价 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" >
				{$exam_arr.exam_comment}
			</span>
		</div>
	</div>

	<div class="profile-info-row">
		<div class="profile-info-name"> 监考费用 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" >
				<?php if ($exam_arr['exam_income']): ?>
					{$exam_arr.exam_income}元
				<?php endif ?>
			</span>
		</div>
	</div>

</div>	

<div class="space-6"></div>
<div class="row" style="margin-bottom:7px">
    <div class="col-xs-12"><span class="label label-warning label-lg arrowed"> 考生详情 </span></div>
</div>
<div class="space-6"></div>
<!-- #section:pages/profile.info -->
<div class="profile-user-info profile-user-info-striped" >
	<div class="profile-info-row">
		<div class="profile-info-name"> 迷笛 ID </div>

		<div class="profile-info-value">
			<span class="editable editable-click" ><?php echo formatNO($exam_arr['exam_user_id'],6);?></span>
		</div>
	</div>

	<div class="profile-info-row">
		<div class="profile-info-name"> 姓名 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" ><?php echo $exam_arr['user_name'];?></span>
		</div>
	</div>

	<div class="profile-info-row">
		<div class="profile-info-name"> 手机号 </div>

		<div class="profile-info-value">
			<span class="editable editable-click" ><?php echo $exam_arr['user_phone'];?></span>
		</div>
	</div>

</div>

<div class="space-12"></div>

<button type="button" class="btn btn-sm btn-light" onclick="location.href='{$_SERVER[HTTP_REFERER]}'"><i class="ace-icon fa fa-arrow-left"></i> 返回</button>

</block>
<block name="scripts"></block>
<block name="jscript">
<script script="text/javascript">
    $(function(){
        $('#menu_statistics').addClass('active open');
        $('#menu_statistics_list').addClass('active');
    });
</script>
</block>